<%@page import="org.jasig.cas.client.authentication.AttributePrincipal"%>
<html>
<body>
	<h1><%=session.getId()%></h1>
	<h2><%=session.getAttribute("test")%></h2>
	<h3>
		<%
			AttributePrincipal principal = (AttributePrincipal) request.getUserPrincipal();
			String username = principal.getName();
		%>
		<%=username%>
	</h3>
</body>
</html>

<%
	if (session.getAttribute("test") == null) {
		session.setAttribute("test", "Session");
	}
%>
